package com.hegongda.dao;

import com.hegongda.bean.Poster;
import java.sql.SQLException;
import java.util.List;

public interface PosterDao {
    public Poster getOnePoster(String id) throws SQLException;
    public int addPoster(String pid,String path,String id) throws SQLException;
    public int EditPoster(String id,String path) throws SQLException;
    public List<Poster> showAll() throws SQLException;
    public int del(String id) throws SQLException;
}
